Ext.define('MyApp.view.Song', {
    extend: 'Ext.dataview.List',
    xtype: 'myapp-songpanel',
    
    config: {
        title: 'Top Songs',
        iconCls: 'star',
        cls: 'listSong',
        pressedCls: 'selectSong', 
        selectedCls: 'selectSong',
        itemTpl: '<div class="songName">{SongName}</div>',
        store: Ext.create('MyApp.store.Song')
    },
    
    constructor : function(config){
        this.callParent([config]);
    }
});